@import './index.scss';

.tou{
    height: 102px;
    border-bottom: 2px solid #ff6700;
    .toucontain{
        width: 1226px;
        margin: 0 auto;
        font-size: 0;
        position: relative;
        .titlelogo{
            vertical-align: top;
            display: inline-block;
            margin-top: 22px;
            width: 48px;
            height: 48px;
            background-color: #ff6700;
            .logolink{
                position: relative;
                display: block;
                width: 48px;
                height: 48px;
                overflow: hidden;
                
                &::before{
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 48px;
                    height: 48px;
                    content: '';
                    background-image: url(../../src/shouye/mi-logo.png);
                    background-repeat: no-repeat;
                    background-position: 50%,50%;
                    transition: all 0.3s;
                }
                &::after{
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 48px;
                    height: 48px;
                    content: '';
                    background-image: url(../../src/shouye/mi-home.png);
                    background-repeat: no-repeat;
                    background-position: 50%,50%;
                    margin-left: -55px;
                    transition: all 0.3s;
                }

                &:hover{
                    &::before{
                        margin-left: 55px;
                    }
                    &::after{
                        margin-left: 0;
                    }
                }
            }
        }

        .mycar{
            font-size: 28px;
            line-height: 48px;
            color: #424242;
            font-weight: 400;
            display: inline-block;
            vertical-align: top;
            margin-top: 24px;
            margin-left: 45px;
        }

        .touright{
            position: absolute;
            height: 40px;
            line-height: 40px;
            right: 0;
            top: 30px;

            a{
                padding: 0 5px;
                font-size: 12px;
                color: rgb(117, 117, 117);

                &:hover{
                    color: #ff6700;
                }
            }


            span{
                font-size: 12px;
                color: rgb(117, 117, 117);

            }
        }
    }
}

.shopcar{
    background-color: #f5f5f5;
    overflow: hidden;
    .showcar{
        width: 1226px;
        margin: 103px auto 130px;
        font-size: 0;
        .showleft{
            width: 558px;
            height: 273px;
            display: inline-block;
            padding-left: 90px;
        }
        .showright{
            display: inline-block;
            width: 668px;
            height: 273px;
            vertical-align: top;
            .pp1{
                margin-top: 70px;
                font-size: 36px;
                line-height: 54px;
                color: #b0b0b0;
            }
            .pp2{
                font-size: 20px;
                line-height: 30px;
                color: #b0b0b0;
            }
            .gologin{
                display: inline-block;
                margin: 20px 10px 0 0;
                width: 170px;
                height: 48px;
                line-height: 48px;
                background-color: #ff6700;
                color: white;
                font-size: 14px;
                text-align: center;
            }
            .goshopping{
                display: inline-block;
                margin: 20px 10px 0 0;
                width: 170px;
                height: 48px;
                line-height: 48px;
                background-color: white;
                color: #ff6700;
                font-size: 14px;
                text-align: center;
                border: 1px solid #ff6700;
            }
        }
    }

    .tuijian{
        width: 1226px;
        border-top: 1px solid #e0e0e0;
        position: relative;
        height: 50px;
        margin: 0 auto;
        >p{
            display: block;
            position: absolute;
            top: -20px;
            left: 372px;
            width: 482px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            font-size: 30px;
            color: #757575;
            background-color: #f5f5f5;
        }
    }

    .tuijianpin{
        width: 1226px;
        margin: 0 auto;
        margin-bottom: 38px;
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;

        .pin{
            width: 234px;
            height: 300px;
            margin-bottom: 14px;
            text-align: center;
            background-color: #fff;
            overflow: hidden;
            position: relative;

            .pin-a{
                display: block;
                width: 234px;
                height: 240px;

                >img{
                    display: block;
                    margin: 40px  auto 20px;
                    width: 140px;
                    height: 140px;
                }

                p{
                    &:nth-of-type(1){
                        margin-bottom: 10px;
                        font-size: 14px;
                        line-height: 18px;
                        color: #333;
                    }

                    &:nth-of-type(2){
                        margin-bottom: 10px;
                        color: #ff6700;
                        font-size: 14px;
                        line-height: 21px;
                    }

                    &:nth-of-type(3){
                        font-size: 14px;
                        color: #757575;
                        line-height: 21px;
                    }
                }

            }

            .pin-b{
                display: block;
                width: 122px;
                height: 30px;
                border: 1px solid #ff6700;
                background-color: white;
                color: #ff6700;
                text-align: center;
                font-size: 12px;
                line-height: 28px;
                margin: 0 auto;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: -30px;
                transition: all .4s;
                &:hover{
                    background-color: #ff6700;
                    color: white;
                    bottom: 16px;
                }
            }

            &:hover{
                .pin-b{
                    bottom: 16px;
                }
            }
        }
    }
}